package com.globalresources.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Groups entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Groups implements java.io.Serializable {

	// Fields

	private Integer id;
	private String groups;
	private Integer sort;
	private Set menus = new HashSet(0);

	// Constructors

	/** default constructor */
	public Groups() {
	}

	/** minimal constructor */
	public Groups(Integer id, String groups, Integer sort) {
		this.id = id;
		this.groups = groups;
		this.sort = sort;
	}

	/** full constructor */
	public Groups(Integer id, String groups, Integer sort, Set menus) {
		this.id = id;
		this.groups = groups;
		this.sort = sort;
		this.menus = menus;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGroups() {
		return this.groups;
	}

	public void setGroups(String groups) {
		this.groups = groups;
	}

	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Set getMenus() {
		return this.menus;
	}

	public void setMenus(Set menus) {
		this.menus = menus;
	}

}